package builder;

public class Director {

    Builder builder;

    public Product construct(){
        builder.buildPartA();
        builder.buildPartB();
        builder.buildPartC();
        return builder.getResult();
    }

    public void setBuilder(Builder builder){
        this.builder = builder;
    }
}
